package com.sinba.common.system.service;

import com.sinba.common.dto.PageDTO;
import com.sinba.common.system.dto.ActivationCodeDTO;
import com.sinba.common.system.entity.ActivationCode;

public interface IActivationCodeService {
	public final String NOT_USE = "未使用";
	public final String USED = "已使用";
	public final String SOTP_USE = "已禁用";
	//获取邮件激活码
	public void getEmailActivationCode(ActivationCodeDTO dto);
	//验证邮件激活码
	public boolean authEmailCode(ActivationCodeDTO dto);
	PageDTO emailAuthPages(ActivationCodeDTO activationCodeDTO,String sord, String sidx);
	void deleteActivationCode(Long[] ids);
	
	ActivationCode authVerificationCode(String authStr ,String code ,String category);
}
